<div class="ui_header_top">
  <div class="ui_header_center">
    <div class="ui_header_left"> {if $do!='index'||!$do} <a href="index.php?do=index" class="nav-item-link active">回到首页</a> {/if} <a href="{$_K[siteurl]}/">欢迎您来到{$_K[sitename]}</a>  {if $uid} <a href="index.php?do=logout" class="nav-item-link active">退出登陆</a>{/if}</div>
    <div class="ui_header_right">
      <ul>
        <!--{eval $uid=$_SESSION ['uid'];}--> 
        <!--{eval $username=$_SESSION['username'];}--> 
        {if $uid}
        <li id="denglu"><a href="index.php?do=user&view={$userUrl}" id="nings">{$username}</a><a href="index.php?do=user&view=message&op=notice">{if $messagecount}({$messagecount}){/if}</a></li>
        <li><a href="index.php?do=user&view=gz&op=gy">我的订单</a></li>
        <li class="ui_header_icon"><a href="index.php?do=user&view=transaction&op=released" class="ui_header_icon_a">我是雇主</a>
          <dl>
           <dd><a href="index.php?do=user&view=transaction&op=released">已发任务</a></dd>
            <dd><a href="index.php?do=sellerlist">找服务商</a></dd>
            <dd><a href="index.php?do=pubtask">发布需求</a></dd>  
          </dl>
        </li>
        <li class="ui_header_icon"><a href="index.php?do=seller&id={$uid}"  class="ui_header_icon_a">我是机构</a>
          <dl>
            <dd><a href="index.php?do=seller&id={$uid}">我的店铺</a></dd>
            <dd><a href="index.php?do=user&amp;view=wk&amp;op=gy&amp;s=seller_confirm">新的雇佣</a></dd>
            <dd><a href="index.php?do=pubgoods&id=7&step=step1">发布服务</a></dd>
            <dd><a href="index.php?do=user&view=wk&op=mark">交易管理</a></dd>
            <dd><a href="index.php?do=user&view=shop&op=setting">店铺设置</a></dd>
          </dl>
        </li>
        {else}
        <li><a href="index.php?do=login">登录</a></li>
        <li><a href="index.php?do=register">免费注册</a></li>
        <li class="ui_header_icon"><a href="index.php?do=user&view=transaction&op=released" class="ui_header_icon_a">我是雇主</a>
          <dl>
            <dd><a href="index.php?do=sellerlist">找服务商</a></dd>
            <dd><a href="index.php?do=pubtask">发布需求</a></dd>
          </dl>
        </li>
        <li class="ui_header_icon"><a href="index.php?do=login"  class="ui_header_icon_a">我是机构</a>
          <dl>
            <dd><a href="index.php?do=seller&id={$uid}">我的店铺</a></dd>
            <dd><a href="index.php?do=user&amp;view=wk&amp;op=gy&amp;s=seller_confirm">新的雇佣</a></dd>
            <dd><a href="index.php?do=pubgoods&id=7&step=step1">发布服务</a></dd>
            <dd><a href="index.php?do=user&view=wk&op=mark">交易管理</a></dd>
            <dd><a href="index.php?do=user&view=shop&op=setting">店铺设置</a></dd>
          </dl>
        </li>
        {/if}
        <li><a href="http://wpa.qq.com/msgrd?v=3&amp;uin={$_K[kefu_qq]}&amp;site=qq&amp;menu=yes"  target="_blank"  rel="nofollow">联系客服</a></li>
        <li class="ui_header_icon"><a href="index.php?do=help"  class="ui_header_icon_a">帮助中心</a>
          <dl>
            <dd><a href="index.php?do=help&id=296">帐号安全</a></dd>
            <dd><a href="index.php?do=help&id=310">相关认证</a></dd>
            <dd><a href="index.php?do=help&id=297">提现充值</a></dd>
            <dd><a href="index.php?do=help&id=346">交易维权</a></dd>
            <dd><a href="index.php?do=help&id=326">交易付款</a></dd>
            <dd><a href="index.php?do=help&id=347">违规</a></dd>
          </dl>
        </li>
        <div class="clear"></div>
      </ul>
    </div>
    <div class="clear"></div>
  </div>
</div>
<script src="static/js/model/seller/seller.js" charset="{CHARSET}"></script>
<style>
	.confirm_modal{z-index:1041;}
</style>
<div id="space_bg" style="background-image:url({$arrSellerInfo['shop_background']});background-repeat:{$arrBackgroudStyle['repeat']}; background-position:{$arrBackgroudStyle['position']};background-attachment:fixed}">

	
	<!-- /.dropzone -->
    	<div class="space_body">
	    <!--导航图片 -->
	    <div id="shop_banner" class="banner">
	    	{if $gUid == $arrSellerInfo['uid']}
	      	<a id="change_banner"  href="javascript:changeBanner('{$id}');void(0);" >点击更改图片</a>
			{/if}
			<img onerror="this.src='tpl/default/img/store_banner.jpg'" src="{if $arrSellerInfo['banner']}{$arrSellerInfo['banner']}{else}tpl/default/img/store_banner.jpg{/if}">
		</div>
		<!--导航图片 end-->

        <div class="store_detail">


          <div class="store_adv" style="padding-left:10px;padding-bottom:0;margin-bottom: 0;">
          	<div class="left_detail">
          			<div class="left_img ">
		        	<!--{userpic($arrSellerInfo['uid'],'larger')}-->
		            </div>
			        <h1 class="store_name">{if $arrSellerInfo['shop_name']}{$arrSellerInfo['shop_name']}{else}{$arrSellerInfo['username']}{/if}</h1>

					<!-- {if $arrMemberExts['mobile']['v1']==2}
					<p>联系：$arrSellerInfo['mobile']</p>
					{/if} -->

			        <div class="store_ctrl">

			        	 {if $gUid !=$arrSellerInfo['uid']}

			        	 <div class="row mb_5">
			        	 	
			        	 	<div class="col-sm-8">
			        	 		{if $arrSellerInfo['follow']==1}
				         <span class="btn-group">
							   <a href="javascript:void(0);" class="btn btn-success btn-xs disabled" role="button"><i class="fa fa-check"></i> 已关注</a>
				  				  <a href="javascript:cancelFollow({$arrSellerInfo[uid]});void(0);"  class="btn btn-success btn-xs" id="follow{$arrSellerInfo[uid]}">取消</a>
				          </span>
							  {else}
				              <a href="javascript:addFollow({$arrSellerInfo[uid]});void(0);" class="btn btn-default btn-xs btn-block" id="follow{$arrSellerInfo[uid]}"><i class="fa fa-plus"></i> 加关注</a>
							  {/if}

			        	 	</div>
			        	 </div>			        	

		                


						 {/if}
						 {if $gUid == $arrSellerInfo['uid']}
						 {if $arrSellerInfo['autoshop']==1}
						 	<a href="javascript:closeshop($arrSellerInfo['uid']);" class="btn btn-success btn-xs btn-closeStore">关店</a>
						 {else}
						 	<a href="javascript:openshop($arrSellerInfo['uid']);" class="btn btn-success btn-xs btn-closeStore">开店</a>
						 {/if}
						 {/if}
						 {if $gUid == 1 && $gUid == $arrSellerInfo['uid']}
						 	{if $arrSellerInfo['is_show'] == 1}
							<a href="javascript:changeHide($arrSellerInfo['uid']);" class="btn btn-success btn-xs btn-hideStore">隐藏店铺</a>
							{else}
							<a href="javascript:changeShow($arrSellerInfo['uid']);" class="btn btn-success btn-xs btn-hideStore">显示店铺</a>
							{/if}
						 {/if}

              		</div>
              		{if $gUid !=$arrSellerInfo['uid']}
              		  <a href="index.php?do=gy&id={$arrSellerInfo['uid']}" class="btn btn-success btn-xs btn-block " >雇佣TA</a>{/if}

              		<div class="contact-way">
              			{if $arrMemberExts['email']['v1']==2}
              				{if $arrSellerInfo['email']}
              				<p><span>邮 箱：</span>$arrSellerInfo['email']</p>
              				{else}
              				<p><span>邮 箱：</span>暂无信息</p>
              				{/if}
              			{/if}
              			{if $arrMemberExts['mobile']['v1']==2}
              				{if $arrSellerInfo['mobile']}
              				<p><span>电话：</span>$arrSellerInfo['mobile']</p>
              				{else}
              				<p><span>电话：</span>暂无信息</p>
              				{/if}
              			{/if}
              			{if $arrMemberExts['qq']['v1']==2}
              				{if $arrSellerInfo['qq']}
              				<p><span>Q  Q：</span>$arrSellerInfo['qq']</p>
              				{else}
              				<p><span>Q  Q：</span>暂无信息</p>
              				{/if}
              			{/if}
              			{if $arrMemberExts['msn']['v1']==2}
              				{if $arrSellerInfo['msn']}
              				<p><span>微  信：</span>$arrSellerInfo['msn']</p>
              				{else}
              				<p><span>微  信：</span>暂无信息</p>
              				{/if}
              			{/if}
              			{if $arrMemberExts['phone']['v1']==2}
              				{if $arrSellerInfo['phone']}
              				<p><span>手 机：</span>$arrSellerInfo['phone']</p>
              				{else}
              				<p><span>手 机：</span>暂无信息</p>
              				{/if}
              			{/if}
              		</div>
		    </div>
		    <div class="rigth_detail">
				<h2 class="min-title">简介</h2>
	          	<div class="store_desc">
	          		{if $arrSellerInfo['shop_slogans']}
	          		{$arrSellerInfo['shop_slogans']}
					{else}
					这家伙很懒，啥都没有留下...
					{/if}
	          	</div><!-- .store_desc end-->

				<div class="store_skill">
		        	技能：

					{if $arrSkill}
					{loop $arrSkill $k $v}
					<span class="skill-item">{$v}</span>
					{/loop}
					{else}
					<span class="skill-item">暂无</span>
					{/if}
		        </div>

		        <div class="person-info">
		        	<p>等级： {$arrSellerLevel['pic']}</p>
			        <p>认证：
					  {loop $arrAuthItems $v}
							<a href="{$v['auth_url']}"><img class="mar0" src="{if $v['auth_pass'] == '1'}{$v['auth_small_ico']}{else}{$v['auth_small_n_ico']}{/if}" width="16px" height="16px" alt="" title="{$v['auth_title']}"></a>
					  {/loop}
		            </p>
			        <p>来自：{if $strAddress}{$strAddress}{else}暂无{/if}　　{if $strAddress}<a href="javascript:showMap('{$arrSellerInfo[uid]}');"><i class="fa fa-map-marker"></i></a>{/if}
					</p>
                </div>
                <ul class="user-meta">
					{loop $arrSellerMark $k $v}
					<li>
						{$v['aid_name']}
						<span class="text-danger">{$v['avg']}分</span>
						<!--{eval echo keke_user_mark_class::gen_star2($v['avg']);}-->
					</li>
					{/loop}
				</ul>

				<hr>                
				<p>最近三月收入：<span class="store-money"><sub>￥</sub>
					{if $incomeCash}
					{$incomeCash}
					{else}
					0.00
					{/if}
					</span>
				</p>

				

			</div>
			<div style="clear: both;"></div>
          </div>

		  <div class="store_down" id="main_nav">
